use std::sync::Arc;

use axum::Router;

use crate::app::AppState;

pub mod heart_router;

pub fn init_router(state: &Arc<AppState>) -> Router {
    let router = Router::new().nest("/heart", heart_router::init_router(state));
    router
}
